home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / pc / Shout3Ddemo / Shout3d_runtime / codebase / models / animTests / bezier_jump_in_position_box.s3d < prev    next >
Text File  |  2000-06-07  |  1KB  |  63 lines

  1. Background {
  2.     color 0 0 0
  3. }
  4. DEF world-TIMER TimeSensor {
  5.     loop TRUE
  6.     cycleInterval 3.333
  7. }
  8. DEF Box01 Transform {
  9.     translation -100 0 100
  10.     children [
  11.         Shape {
  12.             appearance [
  13.                 MultiAppearance {
  14.                     material Material {
  15.                         diffuseColor 0.6039 0.6039 0.898
  16.                     }
  17.                 }
  18.             ]
  19.             geometry MultiMesh {
  20.                 coord DEF Box01-COORD Coordinate {
  21.                     point [
  22.                         -15 0 15 15 0 15 -15 0 -15 15 0 -15 -15 30 15 15 30 15 -15 30 -15 15 30 -15
  23.                     ]
  24.                 }
  25.                 coordIndex [
  26.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  27.                     2 0 4 -1 4 6 2 -1
  28.                 ]
  29.                 smoothingIndex [
  30.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  31.                 ]
  32.                 appearanceIndex [
  33.                     1 1 0 0 4 4 3 3 5 5 2 2
  34.                 ]
  35.                 textureMappings [
  36.                 ]
  37.             }
  38.         }
  39.         DEF Box01-BEZPOS-INTERP BezierVecInterpolator {
  40.             key [
  41.                 0 0.3 0.5 1
  42.             ]
  43.             keyValue [
  44.                 -100 0 100 -120 0 40 -124 0 -44 -124 0 -44 -124 0 -44 -124 0 -44 -124 0 -44 -124 0 -44
  45.                 -100 0 -100 -100 0 -100 0.01878 0 -133.3 99.96 0 -100
  46.             ]
  47.         }
  48.         ROUTE world-TIMER.fraction_changed TO Box01-BEZPOS-INTERP.set_fraction
  49.         ROUTE Box01-BEZPOS-INTERP.value_changed TO Box01.set_translation
  50.     ]
  51. }
  52. DEF Camera01 Viewpoint{
  53.     position 2.983 113.4 362.3
  54.     orientation 0.9614 -0.2725 -0.03926 -0.2975
  55.     fieldOfView 0.6024
  56.     description "Camera01"
  57. }
  58. DEF Camera01.Target Transform {
  59.     translation -28.44 0 -21.85
  60.     children [
  61.     ]
  62. }
  63.